﻿using System.Diagnostics;

namespace Qing.QLoggers
{
    class OsLogger : QLogger
    {
        public OsLogger()
        {
        }

        private string logName;
        private EventLog eventLog;

        public void Write()
        {
            eventLog = new EventLog();
            eventLog.Log = logName;
            eventLog.WriteEntry("");
            //if(!EventLog.Exists(logName)) EventLog.CreateEventSource(
        }

        protected override void Write(QLogInfo logInfo)
        {
            
        }
    }
}
